/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dabarobjects.mobile.database;

import java.util.Date;

/**
 * Complex Objects are stored against their parents as
 * e.g a complex object of AA will be stored as AA-1 meaning the first item
 * @author DabarObjects Solutions Limited (www.dabarobjects.com)
 */
public class RowItem {


    private Object data;

    private String objectType;

    private int seqId;

    private String parentKey;
    public RowItem(Object data) {
        this.data = data;
    }

    public RowItem(Object data, String objectType, int seqId) {
        this.data = data;
        this.objectType = objectType;
        this.seqId = seqId;
    }

    public RowItem(Object data, String objectType, int seqId, String parentKey) {
        this.data = data;
        this.objectType = objectType;
        this.seqId = seqId;
        this.parentKey = parentKey;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public int getSeqId() {
        return seqId;
    }

    public void setSeqId(int seqId) {
        this.seqId = seqId;
    }

    public String getParentKey() {
        return parentKey;
    }

    public void setParentKey(String parentKey) {
        this.parentKey = parentKey;
    }




}
